--本程序绘制百货店的交互界面
function love.load()
	font = love.graphics.newFont("font/SourceHanSansCN-Normal.otf",12)
end
function love.draw()
  love.graphics.setBackgroundColor(255, 255, 255)
  love.graphics.setColor(0, 0, 0)
  love.graphics.setFont(font)
  
  --绘制窗体
  love.graphics.line(10,10,610,10)
  love.graphics.line(10,80,610,80)
  love.graphics.line(10,580,610,580)
  
  love.graphics.line(10,10,10,580)
  love.graphics.line(610,10,610,580)
  --绘制矩形，货物清单
  love.graphics.setColor(211,211,211)
  love.graphics.rectangle("fill", 15, 85, 130, 490 )
  
  
 --绘制公司Logo
  love.graphics.setColor(255, 255, 255)
  image1 = love.graphics.newImage( "images/scenario/default/persons/F01.png" )
  love.graphics.draw(image1,15,15)
  --文字
  love.graphics.setColor(0, 0, 0)
  love.graphics.print("百货店",80,15)
  love.graphics.print("茂业百货",80,30)
  love.graphics.print("黄茂如",80,45)
  
  love.graphics.setColor(255, 255, 255)
  image2 = love.graphics.newImage( "images/scenario/default/logo/Logo-001.png" )
  love.graphics.draw(image2,145,15)
  
  image3 = love.graphics.newImage( "images/uncategorized/auction.png" )
  love.graphics.draw(image3,525,15)
  image4 = love.graphics.newImage( "images/uncategorized/FORSALE.PNG" )
  love.graphics.draw(image4,565,15)
  
  image5 = love.graphics.newImage( "images/uncategorized/Goods.png" )
  love.graphics.draw(image5,20,115)
  image6 = love.graphics.newImage( "images/scenario/default/products/BAG.png" )
  love.graphics.draw(image6,225,140)
  image7 = love.graphics.newImage( "images/scenario/default/products/BELT.png" )
  love.graphics.draw(image7,225,280)
  
  love.graphics.setColor(0, 0, 0)
  love.graphics.print("收到的包裹",20,85)
    love.graphics.print("货物编号:001",225,85)
    love.graphics.print("物流公司:",225,105)
    love.graphics.print("商品名称：背包",225,125)
    love.graphics.print("数量：10/10",225,145)
    love.graphics.print("拆包并存入零售店仓库",425,545)
    


  --绘制圆形
    --love.graphics.setColor(255, 255, 255)
    love.graphics.circle("fill", 466, 666, 50, 100) -- Draw white circle with 100 segments.
    --love.graphics.setColor(255, 0, 0)
    love.graphics.circle("fill", 566, 666, 50, 5)   -- Draw red circle with five segments.
    
end